angular.module('faApp')
  .service('simuBuyInfoService', [ 'ajaxService',function (ajaxService) {

    this.list = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("SIMU_BUYINFO_LIST"),cfg || {});
    };  
    
    this.add = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("SIMU_BUYINFO_ADD"),cfg || {});
    };  

    this.edit = function (cfg) {
      return ajaxService.post(ajaxService.getApiUri("SIMU_BUYINFO_EDIT"),cfg || {});
    };  
    this.query = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("SIMU_BUYINFO_QUERY"),cfg);
    };  

    this.remove = function (cfg) {
      return ajaxService.jsonp(ajaxService.getApiUri("SIMU_BUYINFO_REMOVE"),cfg || {});
    };  

}]);
